package com.aspose.cells;

import java.util.ArrayList;

class zccs {
   private zauk a;
   private com.aspose.cells.b.a.d.zh b;
   private zcel c;

   zccs(zcel var1, zauk var2) throws Exception {
      this.c = var1;
      this.a = var2;
      this.b = new com.aspose.cells.b.a.d.zh();
   }

   void a(String var1, com.aspose.cells.a.f.zj var2) throws Exception {
      this.a();
      zcel.a(var1, this.b, var2);
      this.b.a();
      this.b = null;
   }

   void a() throws Exception {
      if (null != this.a) {
         zbyy var1 = new zbyy(this.a);
         var1.a(this.b);
         this.d(this.b);
         this.b(this.b);
         this.c(this.b);
         this.a(this.b);
         zcdb var2 = new zcdb(180);
         var2.a(this.b);
      }
   }

   void a(com.aspose.cells.b.a.d.zh var1) throws Exception {
      zbzn var2 = new zbzn();
      var2.a(var1);
      zbyc var3 = new zbyc(this.a);
      var3.a(var1);
      zcdb var4 = new zcdb(1067);
      var4.a(var1);
      zcdb var5 = new zcdb(36);
      var5.a(var1);
   }

   void b(com.aspose.cells.b.a.d.zh var1) throws Exception {
      if (this.a.p != null && 0 != this.a.p.size()) {
         zcdb var2 = new zcdb(181, this.a.p.size());
         var2.a(var1);
         zbqs var3 = null;

         for(int var4 = 0; var4 < this.a.p.size(); ++var4) {
            var3 = (zbqs)this.a.p.get(var4);
            zbyh var5 = new zbyh(var3);
            var5.a(var1);
            zcdb var7;
            if (!var3.o) {
               zbye var6 = new zbye(var3);
               var6.a(var1);
               this.b(var3, var1);
               var7 = new zcdb(190);
               var7.a(var1);
            }

            if (null != var3.j) {
               this.a(var3, var1);
            }

            zcdb var9;
            if (var3.f != null && 0 != var3.f.size()) {
               var9 = new zcdb(253, var3.f.size());
               var9.a(var1);

               for(int var10 = 0; var10 < var3.f.size(); ++var10) {
                  this.a((zbrf)var3.f.get(var10), var1);
               }

               var7 = new zcdb(254);
               var7.a(var1);
            }

            var9 = new zcdb(184);
            var9.a(var1);
         }

         zcdb var8 = new zcdb(182);
         var8.a(var1);
      }
   }

   void a(zbqs var1, com.aspose.cells.b.a.d.zh var2) throws Exception {
      SxRng var3 = var1.j;
      zbyg var4 = new zbyg(var3);
      var4.a(var2);
      zcdb var8;
      if (var1.o) {
         zcdb var6;
         if (var3.n != null && var3.n.size() != 0) {
            var8 = new zcdb(225, var3.n.size());
            var8.a(var2);
            var6 = null;

            for(int var7 = 0; var7 < var3.n.size(); ++var7) {
               var6 = new zcdb(26, (Integer)var3.n.get(var7));
               var6.a(var2);
            }

            zcdb var9 = new zcdb(226);
            var9.a(var2);
         } else {
            zbyf var5 = new zbyf(var3);
            var5.a(var2);
            var6 = new zcdb(224);
            var6.a(var2);
         }

         this.a(var3, var2);
      }

      var8 = new zcdb(220);
      var8.a(var2);
   }

   void a(SxRng var1, com.aspose.cells.b.a.d.zh var2) throws Exception {
      if (var1.d != null && var1.d.size() != 0) {
         zcdb var3 = new zcdb(221, var1.d.size());
         var3.a(var2);

         for(int var4 = 0; var4 < var1.d.size(); ++var4) {
            zcdl.a().a((zbmb)var1.d.get(var4)).a(var2);
         }

         zcdb var5 = new zcdb(222);
         var5.a(var2);
      }
   }

   void b(zbqs var1, com.aspose.cells.b.a.d.zh var2) throws Exception {
      if (var1.c != null && var1.c.size() != 0) {
         for(int var3 = 0; var3 < var1.c.size(); ++var3) {
            zcdl.a().a((zbmb)var1.c.get(var3)).a(var2);
         }

      }
   }

   void a(zbrf var1, com.aspose.cells.b.a.d.zh var2) throws Exception {
      zbyp var3 = new zbyp(var1);
      var3.a(var2);
      zbri var4 = var1.a();
      if (var4 != null && var4.getCount() != 0) {
         zbrg var5 = null;
         zcdb var6 = new zcdb(257, var4.getCount());
         var6.a(var2);

         for(int var7 = 0; var7 < var4.getCount(); ++var7) {
            var5 = var4.a(var7);
            zbyo var8 = new zbyo(var5);
            var8.a(var2);
            zcdb var9 = new zcdb(260);
            var9.a(var2);
         }

         zcdb var11 = new zcdb(258);
         var11.a(var2);
      }

      zcdb var10 = new zcdb(256);
      var10.a(var2);
   }

   void c(com.aspose.cells.b.a.d.zh var1) throws Exception {
      if (this.a.v != null && this.a.v.getCount() != 0) {
         zcdb var2 = new zcdb(243, this.a.v.getCount());
         var2.a(var1);
         zaus var3 = null;

         for(int var4 = 0; var4 < this.a.v.getCount(); ++var4) {
            var3 = this.a.v.a(var4);
            zbyd var5 = new zbyd(var3);
            var5.a(var1);
            if (var3.f != null) {
               this.a(var3.f, var1);
            }

            if (var3.d != null && var3.d.getCount() != 0) {
               for(int var6 = 0; var6 < var3.d.getCount(); ++var6) {
                  this.a(var3.d.a(var6), var1);
               }
            }

            zcdb var8 = new zcdb(246);
            var8.a(var1);
         }

         zcdb var7 = new zcdb(244);
         var7.a(var1);
      }
   }

   void a(zbro var1, com.aspose.cells.b.a.d.zh var2) throws Exception {
      zbyx var3 = new zbyx(var1, true);
      var3.a(var2);
      zbyv var4 = new zbyv(var1);
      var4.a(var2);
      zbyt var5 = null;
      zcdb var6 = null;
      zcdb var7 = null;
      zbyr var8 = null;
      zbqw var9 = null;
      ArrayList var10 = null;

      for(int var11 = 0; var11 < var1.e.size(); ++var11) {
         var9 = (zbqw)var1.e.get(var11);
         var5 = new zbyt(var9);
         var5.a(var2);
         var10 = var9.c;

         for(int var12 = 0; var12 < var10.size(); ++var12) {
            var8 = new zbyr((Integer)var10.get(var12));
            var8.a(var2);
            var7 = new zcdb(383);
            var7.a(var2);
         }

         var6 = new zcdb(252);
         var6.a(var2);
      }

      zcdb var13 = new zcdb(250);
      var13.a(var2);
      zcdb var14 = new zcdb(248);
      var14.a(var2);
   }

   void d(com.aspose.cells.b.a.d.zh var1) throws Exception {
      zbyn var2 = new zbyn(this.a);
      var2.a(var1);
      switch(this.a.d) {
      case 1:
         this.e(var1);
         break;
      case 4:
         this.f(var1);
      }

      zcdb var3 = new zcdb(186);
      var3.a(var1);
   }

   void e(com.aspose.cells.b.a.d.zh var1) throws Exception {
      zcdb var3;
      if (this.a.e != null && this.a.e.length != 0) {
         zbym var4 = new zbym(this.a.e[0]);
         var4.a(var1);
         var3 = new zcdb(188);
         var3.a(var1);
      } else {
         if (this.a.K != null) {
            zbyl var2 = new zbyl(this.a);
            var2.a(var1);
            var3 = new zcdb(188);
            var3.a(var1);
         }

      }
   }

   void f(com.aspose.cells.b.a.d.zh var1) throws Exception {
      zbyk var2 = new zbyk(this.a);
      var2.a(var1);
      this.g(var1);
      this.h(var1);
      zcdb var3 = new zcdb(208);
      var3.a(var1);
   }

   void g(com.aspose.cells.b.a.d.zh var1) throws Exception {
      if (this.a.f != null && this.a.f.length != 0) {
         zcdb var2 = new zcdb(209, this.a.f.length);
         var2.a(var1);

         for(int var3 = 0; var3 < this.a.f.length; ++var3) {
            String[] var4 = this.a.f[var3];
            if (var4.length != 0) {
               zcdb var5 = new zcdb(211, var4.length);
               var5.a(var1);

               for(int var6 = 0; var6 < var4.length; ++var6) {
                  zbyi var7 = new zbyi(var4[var6]);
                  var7.a(var1);
                  zcdb var8 = new zcdb(214);
                  var8.a(var1);
               }

               zcdb var10 = new zcdb(212);
               var10.a(var1);
            }
         }

         zcdb var9 = new zcdb(210);
         var9.a(var1);
      }
   }

   void h(com.aspose.cells.b.a.d.zh var1) throws Exception {
      if (this.a.g != null && this.a.g.length != 0) {
         zcdb var2 = new zcdb(215, this.a.g.length);
         var2.a(var1);

         for(int var3 = 0; var3 < this.a.g.length; ++var3) {
            zbyj var4 = new zbyj(this.a.g[var3], this.a.e[var3]);
            var4.a(var1);
            zcdb var5 = new zcdb(218);
            var5.a(var1);
         }

         zcdb var6 = new zcdb(216);
         var6.a(var1);
      }
   }
}
